package cn.dxh.stagefinal.service;

import cn.dxh.stagefinal.bean.Matter;
import cn.dxh.stagefinal.bean.Vehicle;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author: Panjianwei
 * @date: 2019/12/10 11:49
 * 代码是一门艺术，需要我们细细用心品味！
 */
public interface MatterService {
    //1.事项的模查分页
    public List<Matter> getall();
    public PageInfo<Matter> findAllMatter(int pageindex, int pagesize, String itemsName);
    //2.主键查询
    public Matter findbyitemsid(int itemsid);
//    3修改
    public int updatematter(Matter matter);
//    4.事项添加
    public int addmater(String itemsname);


}
